package com.example.safestop;


/**
 * @author:CrazyShaQiuShi
 * @email:3105334046@qq.com
 * @descript:
 * @version:1.0.0
 */
public class RunMain {
    public static User u = new User();

    public static void main(String[] args) throws InterruptedException {
        new ReadObjectThread(u).start();
        while (true) {
            ChangeObjectThread thread = new ChangeObjectThread(u);
            thread.start();
            Thread.sleep(150);
            thread.stopMe();
        }

    }
}
